package edu.scau.comeva.rigcontrol.entity;

import javax.persistence.*;
import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * User: Dan
 * Date: 13-8-18
 * Time: 上午1:02
 * To change this template use File | Settings | File Templates.
 */
@Entity
@Table
public class m_deterTeam implements Serializable {
    private long deterTeam_id;
    private String deterTeam_username;
    private String deterTeam_password;
    private m_class deterTeam_class;
    private int deterTeam_rolekind; //默认为2

    @Id
    @GeneratedValue
    public long getDeterTeam_id() {
        return deterTeam_id;
    }

    public void setDeterTeam_id(long deterTeam_id) {
        this.deterTeam_id = deterTeam_id;
    }

    public String getDeterTeam_username() {
        return deterTeam_username;
    }

    public void setDeterTeam_username(String deterTeam_username) {
        this.deterTeam_username = deterTeam_username;
    }

    public String getDeterTeam_password() {
        return deterTeam_password;
    }

    public void setDeterTeam_password(String deterTeam_password) {
        this.deterTeam_password = deterTeam_password;
    }

    @OneToOne
    public m_class getDeterTeam_class() {
        return deterTeam_class;
    }

    public void setDeterTeam_class(m_class deterTeam_class) {
        this.deterTeam_class = deterTeam_class;
    }

    public int getDeterTeam_rolekind() {
        return deterTeam_rolekind;
    }

    public void setDeterTeam_rolekind(int deterTeam_rolekind) {
        this.deterTeam_rolekind = deterTeam_rolekind;
    }
}
